package tgc.edu.tms.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

/*****
 * 
 * 工作表
 *
 */

public class Worksheet {

    private Integer id;
	private String time;//时间
	private Teacher teacher;//教师
	private Curriculum curriculum;//课程
	private String tbclassname;//班级名称
	private Integer number;// 上课人数
	private Integer weeknumber;// 周数
	private Integer period;// 计划学时
	private Integer monthperiod;// 月分班学时
	private double coefficient;// 折合系数
	private double coefficientp;// 分班折合学时
	private String remark;// 备注

	public String getTeacherName() {
		return teacher==null?null:teacher.getName();
	}
	
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@JsonIgnore
	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Curriculum getCurriculum() {
		return curriculum;
	}

	public void setCurriculum(Curriculum curriculum) {
		this.curriculum = curriculum;
	}

	public String getTbclassname() {
		return tbclassname;
	}

	public void setTbclassname(String tbclassname) {
		this.tbclassname = tbclassname;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getWeeknumber() {
		return weeknumber;
	}

	public void setWeeknumber(Integer weeknumber) {
		this.weeknumber = weeknumber;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Integer getMonthperiod() {
		return monthperiod;
	}

	public void setMonthperiod(Integer monthperiod) {
		this.monthperiod = monthperiod;
	}

	public double getCoefficient() {
		return coefficient;
	}

	public void setCoefficient(double coefficient) {
		this.coefficient = coefficient;
	}

	public double getCoefficientp() {
		return coefficientp;
	}

	public void setCoefficientp(double coefficientp) {
		this.coefficientp = coefficientp;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

}
